<?php
$this->pageTitle = 'Manage Front-End Users ';

$this->menu = array(
    //array('label'=>Yii::t('app', 'List') . ' ' . $model->label(2), 'url'=>array('index')),
    array('label' => Yii::t('app', 'Manage ') . ' ' . $model->label(), 'url' => array('admin')),
);
?>
<h2>Trainer Name:<?php echo $model->profiles[0]['first_name'] . ' ' . $model->profiles[0]->last_name; ?></h2>
<h2>Class List</h2>
<?php
$this->widget('zii.widgets.grid.CGridView', array(
    'dataProvider' => $classModel,
    'columns' => array(
        array('name' => 'class_titile',
            'type' => 'raw',
            'value' => 'CHtml::link($data->class_titile,array("classes/view","id"=>$data->id))'),
    ),
));
?>

<h2>Course List</h2>
<?php
$this->widget('zii.widgets.grid.CGridView', array(
    'dataProvider' => $courseModel,
    'columns' => array(
        array('name' => 'course_titile',
            'type' => 'raw',
            'value' => 'CHtml::link($data->course_titile,array("courses/view","id"=>$data->id))'),
    ),
));
?>
<div style="height: 20px;"></div>


